/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fallen.deck;

import fallen.deck.hibernate.Queries;
import java.util.List;
import junit.framework.TestCase;

/**
 *
 * @author santi
 */
public class UT_DemonLoader extends TestCase {

    public UT_DemonLoader(String testName) {
        super(testName);
    }

    @Override
    protected void setUp() throws Exception {
        super.setUp();
    }

    
    public void testGetDemons() {
        List demons = Queries.getDemons("Locura", "Insania");
        assertEquals(3, demons.size());
    }

    @Override
    protected void tearDown() throws Exception {
        super.tearDown();
    }
    // TODO add test methods here. The name must begin with 'test'. For example:
    // public void testHello() {}
}
